#pragma once

#include "actor/dht.h"
#include "actor/uart.h"
#include "messages.hpp"
#include <rotor-light.hpp>

namespace details {
using SupParent = rl::Supervisor<rl::SupervisorBase::min_handlers_amount,
                                 actor::DHTActor, actor::UARTActor>;
}

struct Supervisor : details::SupParent {
  using Parent = details::SupParent;

  void advance_start() override;
  //void on_refhesh_timer(rl::message::RefreshTime &) override;
  void blink_led();
};

extern Supervisor sup;
